package com.xxx.proj.aop;


import io.lettuce.core.cluster.api.sync.Executions;
import jakarta.annotation.Resource;
import org.aspectj.lang.ProceedingJoinPoint;
import org.aspectj.lang.annotation.Around;
import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import org.aspectj.lang.annotation.Pointcut;
import org.springframework.aop.BeforeAdvice;

import java.util.concurrent.Executor;
import java.util.concurrent.Executors;

@Aspect
public class LoginAspect implements BeforeAdvice {

    @Pointcut("execution(* com.xxx.proj.controller.*.*(..))")
    public void pointcut(){

    }
    @Around("pointcut()")
    public Object loginAspect(ProceedingJoinPoint proceedingJoinPoint) throws Throwable {
         return proceedingJoinPoint.proceed();
    }
}
